<?php

namespace app\admin\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;

use app\common\model\Live;


class Test extends Command
{
    protected $model = null;

    protected function configure()
    {
        $this->setName('test')->setDescription('Test 测试命令');
    }

    protected function execute(Input $input, Output $output)
    {
        // $list = Live::where(['status' => '1'])->select();

        // foreach($list as $item)
        // {

        // }

        //输出
        $output->info("test Successed!");
    }
}
